<?php
 
define('IN_ADMIN',True);
require_once('../include/common.php');
get_login($_USER->id);
//更新在线数据到数据库中
$blog = $db->fetch_one_array("SELECT receiveperson FROM ".DB_TABLEPRE."sms_receive where receiveperson='".$_USER->id."' and online='0'  ");
	if($blog["receiveperson"]!=''){
		$sms='1';
	}else{
		$sms='0';
	}
echo $sms;
exit;
?>